package jwcb.javapjframework.ms_template.service.controller;

import com.fasterxml.jackson.core.type.TypeReference;
import jwcb.javapjframework.ms_template.service.service.RedisZSetTestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Arrays;
import java.util.Set;

@RestController
@RequestMapping("/test/redis/zset")
public class RedisZSetTestController {

    @Autowired
    private RedisZSetTestService redisZSetTestService;

    @GetMapping("/testOperations")
    public String testZSetOperations() {
        return redisZSetTestService.testRedisZSetOperations();
    }
}